package com.projectCommon.bean;


import java.util.HashMap;
import java.util.Map;
import java.util.UUID;

/**
 * @author 吴宇~
 * @motto 我亦无他，唯手熟尔。
 * @edition jdk1.8
 * @reflection 0-1 喧闹任其喧闹，自由我自为之，我自风情万种，与世无争。
 * @date 2024/03/27/22:28
 * @target 心若有所向往，何惧道阻且长
 */
//字符分隔
public class Info {
    public static String uuid = UUID.randomUUID().toString().replace("-", "");
    // 这些东西 一般都存储在 redis中
    public static final String strSeparation = "\\|";
    public static String userName = "140105122422";
    public static String password = "@Wy123456";
//    逻辑暂时就这样吧，如果之后判s断是否登录的话，再做修改
    public static Map<String, String> ShanxiTobaccoCookieMap = new HashMap<>();
    public static Map<String, String> JinyeCookieMap = new HashMap<>();

    public static void initShanxiTobaccoCookieMap() {
        ShanxiTobaccoCookieMap.put("JSESSIONID", "93D0F19F1FD8E6CB370D2F346E13F5B3");
//        ShanxiTobaccoCookieMap.put("_user", "mtqWmta1mtiZmZa2");
        ShanxiTobaccoCookieMap.put("jwt", "eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl9uYW1lIjoiMTQwMTA1MTIyNDIyIiwiY3VzdF91dWlkIjoiMDAwMDAwMDAwMDAwMDAwMDAwMDAxNDAxMDUxMjI0MjIiLCJtYW5hZ2VfdW5pdF91dWlkIjoiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDEiLCJleHAiOjE3NjQ1ODUzOTQsImlhdCI6MTc2Mzk4MDU5NH0.wSXo_5xWKlC2YFmYem2M9tk8ZgtI47LWeVnPryGLmKo");
        ShanxiTobaccoCookieMap.put("wdk_user", "EYjJDxn0x3v1AwqIoIiWmdaWmdaWmdaWmdaWmdaWmdaWmde0mdeWnteYmJqYmIiSiMXPy2vUC2vFy29Kzsi6iJe0mdeWnteYmJqYmIiSiMn1C3rFBMfTzsi6iUwKQUwoN+w4GUwWJ+w6L+wmUUATPUw7UUw5S+s+V+wiQEw6LYiSiMfYDgLMAwnPywXFBMfTzsi6iUATPUw7UUw5SYiSiM1HBMfNzv91BML0x3v1AwqIoIiWmdaWmdaWmdaWmdaWmdaWmdaWmdaWmdaWmdaWmdaWmsiSiMnVDw50Ev91DwLKiJOImdaWmdaWmdaWmdaWmdaWmdaWmdaWmdaWmdaXndaXmduIlcjKzxbHCNrFDxvPzci6iJaWmdaWmdaWmdaWmdaWmdaWmdaWmdaWmdeXmtqWmtaYiIWIAxnFCMvWB3j0iJOImciSiMnVCNbFDxvPzci6iJaWmdaWmdaWmdaWmdaWmdaWmdaWmdaWmdeXmtqWmtaXiIWIB3jKzxjFyNvZC2LUzxnZx21VzguIoIjTB2rLx3nOyw54AsiSiNjLC2v0x3b3zf9MBgfNiJOImciSiMfJy291BNrFDxvPzci6iJeWmJaYmJa3mtCWmdaWmdq2odeWmtaYiIWIBg9NAw5FBMfTzsi6iJe0mdeWnteYmJqYmIiSiNvZzxjFDhLWzsi6iKnvu1rptuvsiIWIDxnLCL90ExbLx2LUzM9ZiJOIq1vtve9nrviIFq--");
    }

    public static void initJinyeCookieMap() {
        JinyeCookieMap.put("SESSION", "9255FCC5845A000F8E2B86A6BEC315D3");
        JinyeCookieMap.put("TGT", "eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl9uYW1lIjoiMTQwMTA1MTIyNDIyIiwiY3VzdF91dWlkIjoiMDAwMDAwMDAwMDAwMDAwMDAwMDAxNDAxMDUxMjI0MjIiLCJtYW5hZ2VfdW5pdF91dWlkIjoiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDEiLCJleHAiOjE3MTM2MDU5NjAsImlhdCI6MTcxMzAwMTE2MH0.xn-aNaChG8HCNkVgmW2Aya9vO9F3I77eRLuPHr07diM");
        JinyeCookieMap.put("TGC", "EYjJDxn0x3v1AwqIoIiWmdaWmdaWmdaWmdaWmdaWmdaWmde0mdeWnteYmJqYmIiSiMXPy2vUC2vFy29Kzsi6iJe0mdeWnteYmJqYmIiSiMn1C3rFBMfTzsi6iUwKQUwoN+w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j0iJOImciSiMnVCNbFDxvPzci6iJaWmdaWmdaWmdaWmdaWmdaWmdaWmdaWmdeXmtqWmtaXiIWIB3jKzxjFyNvZC2LUzxnZx21VzguIoIjTB2rLx3nOyw54AsiSiNjLC2v0x3b3zf9MBgfNiJOImciSiMfJy291BNrFDxvPzci6iJeWmJaYmJa3mtCWmdaWmdq2odeWmtaYiIWIBg9NAw5FBMfTzsi6iJe0mdeWnteYmJqYmIiSiNvZzxjFDhLWzsi6iKnvu1rptuvsiIWIDxnLCL90ExbLx2LUzM9ZiJOIq1vtve9nrviIFq--");
        JinyeCookieMap.put("usercode",Info.userName);
        JinyeCookieMap.put("uiInfo", "uiversion=1.0.0@uipath=https://www.jinye.cn");
        JinyeCookieMap.put("pk_corp", "0001");
    }
}
